package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.LiveDieState;
import com.study.manage.domain.enumm.UserRoleType;

@Entity
@Table(name = "sa_user_role")
public class UserRole extends AbstractEntity {

    private static final long serialVersionUID = 2279555290509998327L;

    public Long userId;

    @Column(name = "typee")
    public UserRoleType type;
    public LiveDieState state = LiveDieState.LIVE;

    public UserRole() {

    }

    public UserRole(Long id) {
        this.id = id;
    }
}
